package com.fiona.remoting.api;

import java.net.InetSocketAddress;

public interface Channel {

	InetSocketAddress remoteAddress();
	
	InetSocketAddress localAddress();

	boolean isConnected();
	
	boolean isActive();
	
	void close();
	
	Object send(Object message);
}